package com.ekuaitu.kuaitu.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by user1 on 2017/5/16.
 */

public class MyCardBean {


    /**
     * status : 200
     * message : 成功
     * debug : {}
     * attachment : {"cardCouponModels":[{"businessName":"","denomination":"30","startDate":"1496805298000","endDate":"1499397298000","code":"123456789","businessAddress":"","content":"","areaName":""}]}
     */

    @SerializedName("status")
    private String status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private DebugBean debug;
    @SerializedName("attachment")
    private AttachmentBean attachment;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DebugBean getDebug() {
        return debug;
    }

    public void setDebug(DebugBean debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class DebugBean {
    }

    public static class AttachmentBean {
        @SerializedName("cardCouponModels")
        private List<CardCouponModelsBean> cardCouponModels;

        public List<CardCouponModelsBean> getCardCouponModels() {
            return cardCouponModels;
        }

        public void setCardCouponModels(List<CardCouponModelsBean> cardCouponModels) {
            this.cardCouponModels = cardCouponModels;
        }

        public static class CardCouponModelsBean implements Serializable {
            /**
             * businessName :
             * denomination : 30
             * startDate : 1496805298000
             * endDate : 1499397298000
             * code : 123456789
             * businessAddress :
             * content :
             * areaName :
             */

            @SerializedName("businessName")
            private String businessName;
            @SerializedName("denomination")
            private Double denomination;
            @SerializedName("startDate")
            private String startDate;
            @SerializedName("endDate")
            private String endDate;
            @SerializedName("code")
            private String code;
            @SerializedName("businessAddress")
            private String businessAddress;
            @SerializedName("content")
            private String content;
            @SerializedName("areaName")
            private String areaName;

            public String getBusinessName() {
                return businessName;
            }

            public void setBusinessName(String businessName) {
                this.businessName = businessName;
            }

            public double getDenomination() {
                return denomination;
            }

            public void setDenomination(double denomination) {
                this.denomination = denomination;
            }

            public String getStartDate() {
                return startDate;
            }

            public void setStartDate(String startDate) {
                this.startDate = startDate;
            }

            public String getEndDate() {
                return endDate;
            }

            public void setEndDate(String endDate) {
                this.endDate = endDate;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getBusinessAddress() {
                return businessAddress;
            }

            public void setBusinessAddress(String businessAddress) {
                this.businessAddress = businessAddress;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getAreaName() {
                return areaName;
            }

            public void setAreaName(String areaName) {
                this.areaName = areaName;
            }
        }
    }
}
